---
- name: Install Rust on Linux
  ansible.builtin.import_tasks: linux.yml
  when: ansible_os_family == "Debian"

- name: Install Rust on MacOS
  ansible.builtin.import_tasks: macos.yml
  when: ansible_distribution == "MacOSX"
